<div class="col_box">
    <div class="col_two clear">
        <form class="validform" method="post" action="/task/edit/<?= $show['id'] ?>">
            <dl><dt>标题：</dt><dd><input type="text" name="row[title]" id="title" class="input" size="50" value="<?= $show['title'] ?>" maxlength="8" datatype="*" nullmsg="标题不能为空" errormsg="标题格式错误" /></dd></dl>
            <dl><dt>金额：</dt><dd><input type="text" name="row[amount]" id="amount" class="input calculator" size="10" value="<?= $show['amount'] ?>" maxlength="8" datatype="dec1" nullmsg="金额不能为空" errormsg="金额格式错误" /></dd></dl>
            <dl><dt>说明：</dt><dd><input type="text" name="row[memo]" id="memo" class="input" size="50" value="<?= $show['memo'] ?>" maxlength="8" datatype="*" nullmsg="说明不能为空" errormsg="说明格式错误" /></dd></dl>
            <dl><dt>频率：</dt><dd><?= $frequency_list ?></dd></dl>
            <dl><dt>开始：</dt>
                <dd>
                    <input type="text" name="row[starttime]" id="starttime" class="input datepicker" title="点击选择日期" size="10" value="<?= get_datetime($show['starttime'], false) ?>" style="width:100px;" datatype="date" readonly="true" errormsg="日期输入错误！" showtime="true" tipmsg="" autocomplete="off" />
                </dd>
            </dl>
            <dl><dt>过期：</dt>
                <dd>
                    <input type="text" name="row[expiretime]" id="expiretime" class="input datepicker" title="点击选择日期" size="10" value="<?= $show['expiretime'] ? get_datetime($show['expiretime'], false) : 0 ?>" style="width:100px;" datatype="date|/^0$/" errormsg="日期输入错误！" tipmsg="为0时则表示永不过期" autocomplete="off" /></dd>
            </dl>
            <dl><dt>次数：</dt><dd><input style="width:100px;" type="text" name="row[maximums]" id="maximums" class="input" size="10" value="<?= $show['maximums'] ?>" maxlength="8" datatype="n" nullmsg="最多执行格式错误" errormsg="最多执行格式错误" tipmsg="为0时则表示无限次数" /></dd></dl>
            <dl><dt>状态：</dt><dd><?= $state_list ?></dl>
            <dl><dt>&nbsp;</dt>
                <dd>
                    <div class="moreconf" style="clear:both;">
                        <input type="checkbox" name="row[notinfamily]" value="1" id="notinfamily" class="checkbox" <?= checkchecked($show['family'], 0) ?> /> <label for="notinfamily">不在家庭中显示</label>
                    </div>
                </dd>
            </dl>
            <dl><dt>&nbsp;</dt>
                <dd>
                    <a href="javascript:;" class="btn btn_s submit"><span><b class="icon icon-ok"></b><em>提交</em></span></a>
                    <a href="javascript:;" class="btn btn_w_s cancel"><span><b class="icon icon-remove"></b><em>取消</em></span></a>
                    <span class="poststate"><em>&nbsp;</em><b></b></span>
                </dd></dl>
        </form>
    </div>
</div>
<script type="text/javascript">
    KS.common.load('task.edit');
</script>